[paket]
tanim   = İşletim sistemi ve kapsayıcı ikili dağıtımı ve yükseltmeleri
paketci = Cihan_Alkan
grup    = kütüphane
url     = https://ostree.readthedocs.org/en/latest/

[gerek]
derleme    = docbook-xsl xmlto libsodium docbook-xsl
calisma    = libsodium

[kaynak]
git     = https://github.com/ostreedev/ostree 
git     = https://github.com/mendsley/bsdiff
git     = https://gitlab.gnome.org/GNOME/libglnx

[sha256]
#1 = d45f209d837c49dae6deebcdd87b8cc3b04ea290880358faecf5e7737740c771

[derle]
betik = cd $isim
betik = git submodule init
betik = git config --local submodule.bsdiff.url "$SRC/bsdiff"
betik = git config --local submodule.libglnx.url "$SRC/libglnx"
betik = git submodule update
betik = NOCONFIGURE=1 ./autogen.sh
betik = ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin --libexecdir=/usr/lib --with-builtin-grub2-mkconfig --with-ed25519-libsodium --with-dracut --with-mkinitcpio --with-openssl --enable-experimental-api --disable-static --enable-man=no
  # circumvent overlinking
betik = sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool

  make
[pakur]
betik = cd "$isim"
betik = make DESTDIR="$PKG" install
